set Loop Animation
Sets the "loop" animation for the given block.
The animation is removed from every other block that uses it.
Parameters
block
the design block whose "loop" animation should be set.
animation
The animation to set.